package demo2;

import demo1.Animal;

/**
 * @Author 12629
 * @Description： alt+回车
 */
class Bird extends Animal {


    public Bird(String name, int age) {
        super(name, age);
    }

    public void test() {
        System.out.println(this.age);
        System.out.println(super.name);
    }
}
public class TestDemo {
    public static void main(String[] args) {

    }
}
